package com.poptap.base.service;

import java.util.List;

import com.poptap.base.domain.Category;

public interface CategoryService {

	public boolean createCatalog(String name);
	
	public boolean createCategory(String parentId, String name);
	
	public boolean updateCategory(String id, String name);
	
	public List<Category> findAllCatalogs();
	
	public List<Category> findCategories(String parentId);
	
	public Category find(String id);
}
